﻿@model Cliente
@{
    ViewBag.Title = "Novo";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<link href="../../Content/Styles/Formularios.css" rel="stylesheet" type="text/css" />
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <h2 class="titulo">
        Cliente</h2>
    <div class="cadastro">
        <div class="row">
            <div class="col1">
                @Html.LabelFor(m => m.DataDeNascimento)
                @Html.EditorFor(m => m.DataDeNascimento)
                @Html.ValidationMessageFor(m => m.DataDeNascimento)
            </div>
            <div class="col1">
                @Html.LabelFor(m => m.Sexo)
                @Html.EditorFor(m => m.Sexo)
                @Html.ValidationMessageFor(m => m.Sexo)
            </div>
            <div class="col1">
                @Html.LabelFor(m => m.CPF)
                @Html.EditorFor(m => m.CPF)
                @Html.ValidationMessageFor(m => m.CPF)
            </div>
            <div class="col1">
                @Html.LabelFor(m => m.RG)
                @Html.EditorFor(m => m.RG)
                @Html.ValidationMessageFor(m => m.RG)
            </div>
            <div class="col1">
                @Html.LabelFor(m => m.NomeRazaoSocial)
                @Html.EditorFor(m => m.NomeRazaoSocial)
                @Html.ValidationMessageFor(m => m.NomeRazaoSocial)
            </div>
            <div class="col1">
                @Html.LabelFor(m => m.DataCadastro)
                @Html.EditorFor(m => m.DataCadastro)
                @Html.ValidationMessageFor(m => m.DataCadastro)
            </div>
        </div>
        <div class="row">
            <div class="col6">
                @Html.LabelFor(m => m.Email)
                @Html.EditorFor(m => m.Email)
                @Html.ValidationMessageFor(m => m.Email)
            </div>
        </div>
    </div>
    <div class="bloco-botao">
        <input type="submit" value="Salvar" /></div>
}
